/**
 * 
 */
package com.hwhp.dao.console;

import java.util.List;

import com.hwhp.common.Pager;
import com.hwhp.entity.SPosition;


/**
 * @author user
 *
 */
public interface PositionDao {
	public Pager queryByPager(String hql ,int pageSize ,int pageNum);
	public boolean insertPosition(SPosition sp);
	public boolean editPosition(SPosition sp);
	public boolean deletePosition(SPosition sp);
	public boolean deletePosition(Class claz, String spId);
	public SPosition getSposition(String spId);
	public List getAllPosts();

}
